package com.xsdl.template;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

@ToString
public class BaseEntity {

    @Getter
    private String uuid;

    @Getter
    @Setter
    private String deleted;

    @Getter
    private Date createTime;

    public BaseEntity(String uuid) {
        this.uuid = uuid;
        this.deleted = "0";
        this.createTime = new Date();
    }

}
